
$:.unshift File.dirname(__FILE__) + "/lib"
$:.unshift File.dirname(__FILE__)

require 'application'
Evil.init

#keymaps
require 'keymap'
#tab navigation like firefox
keymap('<A-LEFT>',':tabprevious<cr>')
keymap('<A-RIGHT>', ':tabnext<cr>')
keymap('<C-t>', ':tabnew .<cr>')
# idea like shortcuts
keymap('<Super-Space>', '<C-x><C-o>')
keymap('<C-S-Up>', ':move --<cr>')
keymap('<C-d>', ':copy +0<CR>')
keymap('<C-S-Down>', ':move +1<cr>')
keymap('<C-S-l>', ':ruby Evil.run :format_all<cr>')
keymap('<C-.>', ':ruby Evil.run :generate_test_case<cr>')
keymap('<C-n>', ':ruby Evil.run :open_file <cr>')
keymap('<C-S-Right>', ':n <cr>')
keymap('<C-r>', ':ruby Evil.run :run_current_file <cr>')
